<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="com.systop.cms.model.Catalogs"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <%@ include file="/common/taglibs.jsp"%>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>中国校校通--${model.name}</title>
  <%@include file="/pages/new/resources.jsp" %>
  <!-- 
  <script src="${ctx}/pages/new/themes/js/scroll.js" type="text/javascript" ></script>
  <script src="${ctx}/pages/new/themes/js/jquery-1.4.2.min.js" type="text/javascript"></script>
  <script src="${ctx}/pages/new/themes/js/index201012.js" type="text/javascript"></script>
  <script src="${ctx}/pages/new/themes/js/floatdiv.js" type="text/javascript"></script>
   -->
  <%@include file="/common/calendar.jsp"%>
</head>
<body>
<%@include file="/pages/new/index_top.jsp" %>
<table width="1002" height="38" border="0" align="center" cellpadding="0" cellspacing="0"  style="margin-bottom:5px;">
  <tr>
    <td background="${ctx}/images/lt_new/s_bg.gif" style="padding-left: 20px;">
      <img src="${ctx}/images/lt_new/arrow_4.gif">&nbsp;<a href="${ctx}/main/index.do">首页</a>
      <%
      	Catalogs cata = (Catalogs)request.getAttribute("model");
      	if (cata.getParentCatalog() != null){
      %>
      	&nbsp;&gt;&nbsp;<a href="${ctx}/ltcata/catalog.do?path=<%=cata.getParentCatalog().getRootPath()%>"><%=cata.getParentCatalog().getName() %></a>
      <% } %>
        &nbsp;&gt;&nbsp;<a href="${ctx}/ltcata/catalog.do?path=${model.rootPath}">${model.name}</a>
    </td>
  </tr>
</table>
  <table width="1002" height="400" align="center" cellpadding="0" cellspacing="0" border="0">
    <tr>
      <td width="212" valign="top">
        <table width="210" cellpadding="0" cellspacing="0" border="0">
	      <tr>
	        <td width="210" height="40" background="${ctx}/images/lt_new/left_1.gif" align="center">
	          <span style="font-size:13px; font-weight:bold; color: #339900">${model.name}</span>
	        </td>
	      </tr>
	      <tr>
	        <td height="310" valign="top" background="${ctx}/images/lt_new/left_2.gif" style="padding:10px 30px;">
	          <%int i = 0; %>
	          <s:iterator value="subs" var="sub">
	          	<% i++; %>
	            <div style="height: 25px; line-height: 25px;">
    	   		  <a href="${ctx}/ltart/list.do?catalogId=${sub.id}" target="list"><img src="${ctx}/images/lt_new/arrow_4.gif">&nbsp;&nbsp;${sub.name}</a>
	            </div>
    	   	  </s:iterator>
    	   	  <%if (i == 0){ %>
			  	<div style="height: 25px; line-height: 25px;">
	   	   		 &nbsp;
	            </div>
	          <% } %>
	        </td>
	      </tr>
	      <tr>
	        <td height="14" background="${ctx}/images/lt_new/left_3.gif"></td>
	      </tr>
	    </table> 
      </td>
      <td width="790" valign="top" style="padding-top:7px;">
        <iframe name="list" width="789" height="380" frameborder="0" scrolling="no" src="${ctx}/ltart/list.do?catalogId=${model.id}"></iframe>
	  </td>
    </tr>
  </table>
  <%@include file="/pages/new/index_bottom.jsp" %>
  <%--@include file="/pages/new/footbar.jsp" --%>
</body>
</html>